package com.aier.classes.entity;

import java.sql.Timestamp;

public class ClassParent implements java.io.Serializable{

    /**
     * 班级家长表
     */
    private static final long serialVersionUID = 1L;

    private Long cpid;        //班级家长id
    private Long uid;        //家长用户id
    private Long cid;        //班级id
    private String pname;    //家长姓名
    private Long csid;      //对应的班级学生id
    private Timestamp ctime;//加入时间
    private String relation;//家长与对应的学生的关系
    
    //扩展
    private String ctime_str;
    private String name_student;    //对应的学生姓名
    private String name_classes;    //班级名
    private String clogo;           //班级logo
    private String account;         //家长账号
    
    private String tel;   // 家长手机号码
    private String edate; // 服务的有效期
    private String headimg; //头像
    
    private String appStatusPareant ; //权限
    
    public ClassParent() {
        super();
    }

    public ClassParent(Long cpid, Long uid, Long cid, String pname, Long csid,
            Timestamp ctime, String relation) {
        super();
        this.cpid = cpid;
        this.uid = uid;
        this.cid = cid;
        this.pname = pname;
        this.csid = csid;
        this.ctime = ctime;
        this.relation = relation;
    }

    public Long getCpid() {
        return cpid;
    }

    public void setCpid(Long cpid) {
        this.cpid = cpid;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Long getCsid() {
        return csid;
    }

    public void setCsid(Long csid) {
        this.csid = csid;
    }

    public Timestamp getCtime() {
        return ctime;
    }

    public void setCtime(Timestamp ctime) {
        this.ctime = ctime;
    }

    public String getRelation() {
        return relation;
    }

    public void setRelation(String relation) {
        this.relation = relation;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public String getCtime_str() {
        return ctime_str;
    }

    public void setCtime_str(String ctime_str) {
        this.ctime_str = ctime_str;
    }

    public String getName_student() {
        return name_student;
    }

    public void setName_student(String name_student) {
        this.name_student = name_student;
    }

    public String getName_classes() {
        return name_classes;
    }

    public void setName_classes(String name_classes) {
        this.name_classes = name_classes;
    }

    public String getClogo() {
        return clogo;
    }

    public void setClogo(String clogo) {
        this.clogo = clogo;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEdate() {
        return edate;
    }

    public void setEdate(String edate) {
        this.edate = edate;
    }

	public String getHeadimg() {
		return headimg;
	}

	public void setHeadimg(String headimg) {
		this.headimg = headimg;
	}

	public String getAppStatusPareant() {
		return appStatusPareant;
	}

	public void setAppStatusPareant(String appStatusPareant) {
		this.appStatusPareant = appStatusPareant;
	}
}